﻿using M_Manufacture.Domain;
using Microsoft.EntityFrameworkCore;

namespace M_Manufacture.Repository
{
    public class EFDbContext:DbContext
    {
        public EFDbContext(DbContextOptions<EFDbContext> options) : base(options) { }
        public DbSet<Order> Order { get; set; }
        public DbSet<ManufactureProduct> ManufactureProduct { get; set; }
        public DbSet<WorkOrder> WorkOrder { get; set; }

        /// <summary>
        /// 生产计划
        /// </summary>
        public DbSet<ProductionPlan> ProductionPlans { get; set; }
    }
}
